package service;

import java.util.ArrayList;

import model.Project;

public interface ProjectAPI {
	
	public int addProject(Project pj);
	
	public int updateProject(Project pj);
	
	public int deleteProject(int id);
	
	public boolean checkName(String name);
	
	public ArrayList<Project> getProject();
	
	public Project getProjectById(int id);
	
	public ArrayList<Project> getProjectByName(String name);
	
}
